package guanchazhe.event;

import java.util.EventObject;


public class HomeworkEventObject extends EventObject{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6195975559222499107L;
	
	public HomeworkEventObject(Object source) {
		super(source);
	}
	
	public HomeworkEventObject(Teacher teacher) {
		super(teacher);
	}
	
	public Teacher getTeacher(){
		return (Teacher) super.getSource();
	}
	
}
